<template>
  <div>
      <p v-for="(item,i) in list" v-bind:key="i">

          索引值{{i}} ---- 对应项{{item}}
      </p>
  </div>
</template>

<script>
export default {
    name:"VforList",
    data(){
        return{
            list:[1,2,3,4,5,6]
        }
    }

}
</script>

<style>

</style>
